<?php


namespace app\model;


class ImageModel extends BaseModel
{
    protected $table = 'forum_image';

    public function getUrlAttr($value): string
    {
        return config('setting.server_url')
            . config('setting.server_img_url')
            . $value;
    }
}